package com.qinglei.recoup.longconn.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@Component
@ConfigurationProperties(prefix = "recoup.longconn.oss")
public class OssProperties implements Serializable {
    private Boolean enable;
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
    private Boolean deleteFile;
    private Integer uploadThreadNum;
}
